package com.example.mapper;

import com.example.entity.FacilityPublic;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: tobed
 * @date: 2022/11/14
 * @time: 9:03
 */
@Mapper
public interface FacilityPublicMapper {

    /*公共设备全查*/
    List<FacilityPublic> list(FacilityPublic facilityPublic);

    /*添加公共设备*/
    int createFacility(FacilityPublic facilityPublic);

    /*修改公共设备信息*/
    int updata(FacilityPublic facilityPublic);

    /*删除设备*/
    int remove(Integer id);
}
